//
//  BaseRequest.swift
//  test-ios
//
//  Created by wyz5204 on 2023/3/27.
//

import Foundation

public class BaseRequest<Data>{
    
    var orgId : Int
    
    var projectId : Int
    
    var userId : Int
    
    let data : Data
    
    init(orgId : Int , projectId : Int , userId : Int , date : Data){
        self.data = date
        self.orgId = orgId
        self.projectId = projectId
        self.userId = userId
    }
    
    convenience init(_ date: Data) {
        self.init(orgId: 0, projectId: 0, userId: 0, date: date)
    }
}
